<template>
	<view>
		<image src="https://dy.sykj365.com/uploads/mini/weixin@2x.png" class="p_img_128"></image>
		<view class="p_font_32 p_text_c p_margin_b_32">支付成功</view>
		<view class="p_font_64 p_text_c"><text class="p_font_40 p_margin_r_8">¥</text>{{price}}</view>
		<view class="p_font_28 p_flex7">
			<view class="p_color_7a" @click="getLink('/pages/index/printList')">继续打印</view>
			<view class="p_color_05b570" @click="getLink('/pages/my/order')">订单详情</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				price: '',
			}
		},
		onLoad(e) {
			this.price = e.price;
		},
		methods: {
			getLink(e) {
				uni.redirectTo({
					url: e
				});
			}
		}
	}
</script>

<style lang="less">
	.p_img_128 {
		margin: 160rpx auto 8rpx;
	}

	.p_flex7 {
		margin-top: 112rpx;

		view {
			width: 208rpx;
			height: 72rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			border: 1px solid #E8E8E8;
			border-radius: 80rpx;
			margin: 0 8rpx;

			&:last-child {
				border-color: #05B570;
			}
		}
	}
</style>